platform :ios, '11.0'
use_frameworks!
#source 'https://github.com/CocoaPods/Specs.git'
source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git'
target "AiYue" do
    inhibit_all_warnings!
    pod 'AFNetworking', '~> 4.0.1'
    pod 'Masonry'
    pod 'GKNavigationBarViewController'
    pod 'Masonry'
    pod 'SDWebImage', '~> 5.21.0'
    pod 'IQKeyboardManager'
    pod 'JSONModel'
    pod 'MJRefresh'
    pod 'UITableView+FDTemplateLayoutCell'
    pod 'SDCycleScrollView'
    pod 'GGWkCookie'
    pod 'KVOController'
    pod 'GBDeviceInfo', '~> 6.3.0'
    pod 'MMKV'
    pod 'STPopup'
    pod 'PGDatePicker'
    
    
    pod 'Ads-CN-Beta', '6.7.0.3', :subspecs => ['CSJMediation']
    # 引入融合Adapters(推荐使用自动拉取adapter工具，此处无需引入)
    # 引入使用到的ADN SDK，开发者请按需引入
    pod 'BUAdTestMeasurement-Beta','6.7.0.3', :configuration => ['Debug']
    
#    pod 'ZLPhotoBrowser-objc'
#    pod 'UMCCommon', '~> 7.1.1'
#    pod 'UMAPM'
#    pod 'UMDevice'



end

  

post_install do |installer|
  # 消除版本警告
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      xcconfig_path = config.base_configuration_reference.real_path
      xcconfig = File.read(xcconfig_path)
      xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
      File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
      config.build_settings['CODE_SIGN_IDENTITY'] = ''
      if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 9.0
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
      end
    end
  end
end







